package com.rc.evcharger.model.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.evcharger.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 
 * @Author  
 * @Date: 2022-05-09
 */

@ApiModel(value=" rc_enterprise_gain_grade_setting ", description=" 企业会员权益档位设置表 ")
public class RcEnterpriseGainGradeSetting extends BaseModel{ 

    @ApiModelProperty(value = "权益档位ID")
    private Long gainGradeId;
 
    @ApiModelProperty(value = "权益ID,一条权益多条档位ID")
    private Long enterpriseGainId;
 
    @ApiModelProperty(value = "档位充值金额")
    private BigDecimal rechargeAmount;
 
    @ApiModelProperty(value = "档位折扣")
    private BigDecimal discountAmount;
 
    @ApiModelProperty(value = "尊享标识")
    private BigDecimal gainLogo;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getGainGradeId() {
        return gainGradeId;
    }

    public void setGainGradeId(Long gainGradeId) {
        this.gainGradeId = gainGradeId;
    }

    public Long getEnterpriseGainId() {
        return enterpriseGainId;
    }

    public void setEnterpriseGainId(Long enterpriseGainId) {
        this.enterpriseGainId = enterpriseGainId;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getGainLogo() {
        return gainLogo;
    }

    public void setGainLogo(BigDecimal gainLogo) {
        this.gainLogo = gainLogo;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
